package com.yunfei.api.v2.service;

import com.yunfei.api.v2.common.YunHeTongApiContant;
import com.yunfei.api.v2.param.LongTokenParam;
import com.yunfei.api.v2.param.addSigerParam.AddSignerJsonParam;
import com.yunfei.api.v2.param.addSigerParam.Signers;
import com.yunfei.bo.result.ResultModel;
import com.yunfei.contants.ApplicationConstant;
import com.yunfei.enums.ResultStatus;
import com.yunfei.mapper.aiiidb.HeTongSignInfoMapper;
import com.yunfei.utils.http.JsonParamHttpUtil;
import net.sf.json.JSONObject;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.core.env.Environment;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
* @Description:添加签署者
* @Author: zhengyunfei
* @Date: 2019/8/9
* @time:10:48
*/
@Service
public class AiiidbDataSourceService {
    @Autowired
    private Environment env;

    /**
    * @Description: aiiidb Datasource
    * @Author: zhengyunfei
    * @Date: 2019/8/15
    * @time:16:26
    */
    public ResultModel getDateSouce(){
        ResultModel resultModel=new ResultModel();
        try{
            String jdbcUrl=env.getProperty(ApplicationConstant.JDBC_URL);
            String driveClassName=env.getProperty(ApplicationConstant.driverClassName);
            String jdbcUserName=env.getProperty(ApplicationConstant.USERNAME);
            String jdbcPassword=env.getProperty(ApplicationConstant.PASSWORD);


        }catch (Exception e){
            e.printStackTrace();
        }
        return resultModel;
    }

}
